<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php echo $title ?></title>
	    <meta name="keywords" content="<?php echo image_alt( $keyword ); ?>" />
	    <meta name="description" content="<?php echo image_alt( $description ); ?>" />
	    <meta content="default,index,follow" name="Robots" />
	    <meta content="default,index,follow,snippet,archive" name="Googlebot" />
	    <meta content="" name="Abstract"/>
	    <meta content="no" http-equiv="imagetoolbar" /> 
		<link type="text/css" rel="stylesheet" href="<?php echo path_theme(); ?>css/duclinh.css" />
		<script type="text/javascript" src="<?php echo path_theme(); ?>js/jquery.js"></script>
		<script type="text/javascript" src="<?php echo path_theme(); ?>js/easySlider1.5.js"></script>
		
	</head>
	<body>
		<div class="container">
			<div class="titleTop"><?php echo $option['slogan'] ?></div>
			<div class="header">
				<div class="boxSearch">
					<input type="text" name="key" />
					<input type="submit" name="submit" value="Search" />
				</div>
				<h1 class="logo"><a href="#">Duclinh mobile</a></h1>
			</div>
			<div class="menuTop">
				<ul>
					<li><a href="<?php echo base_url(); ?>"><span>Trang chủ</span></a></li>
					<?php 
		            if ( $menutop ) {
		            	foreach ( $menutop as $kd ) {
		            		echo '<li><a href="'.check_link( $kd['link'] ).'"><span>'.$kd['name'].'</span></a></li>';
		            	}
		            }
		            ?>
					<li id="hotline">
						<span>hotline: 0987 654 321</span>
					</li>
				</ul>
			</div>
			<div class="advTop">					
				<object height="196" width="748" align="middle" id="ob25" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">  
					<param value="transparent" name="wmode"/>           
					<param value="<?php echo path_theme(); ?>Duclinh.swf" name="movie"/>     
					<param value="high" name="quality"/>           
					<embed height="196" width="748" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowscriptaccess="always" name=" helloWorld " wmode="transparent" quality="high" src="<?php echo path_theme(); ?>Duclinh.swf"/>
				</object>			
				<!--<img src="<?php echo path_theme(); ?>images/bannertop.png" alt="bannertop" />-->
				<img src="<?php echo path_theme(); ?>images/media.png" alt="media" />
			</div>
			<div class="body">
				<div class="colRight">
					<div class="boxMenuRight">
						<h3>Sản phẩm nổi bật</h3>
						<div id="slider" class="hotProduct">
				            <?php 
				            if ( $profocus ) {
				            	echo '<ul>';
				            	foreach ( $profocus as $focus ) { 
				            		echo '<li>';
					            	if ( $focus['image'] ) {
				            			echo '<a href="'.link_detail( $focus['id'], 'product', $focus['name'] ).'">'.image_thumb( $focus['image'], 'product', 150, 97, $focus['name'] ).'</a>';
				            		}
				            		echo '<a href="'.link_detail(  $focus['id'], 'product', $focus['name'] ).'" class="title">'.$focus['name'].'</a>';
				            		echo '</li>';								
								} 
								echo '</ul>';
							} 
							?>	
							<script type="text/javascript">
							$(document).ready(function(){	
								$('#slider').easySlider({
									controlsShow: false,		
									firstShow: true,
									lastShow: true,
									vertical: true, 
									auto: true,					
									continuous: true
								});
							});		
							</script>			            
						</div>
					</div>
					
					<div class="boxMenuRight">
						<h3>Hỗ trợ trực tiếp</h3>
						<div class="advisor">
							<a title="Ho tro truc tuyen" href="ymsgr:sendIM?duclinh521"><img alt="yahoo" src="http://opi.yahoo.com/online?u=duclinh521&amp;m=g&amp;t=1" /></a>
							<a title="Ho tro truc tuyen" href="ymsgr:sendIM?mr.votam"><img alt="yahoo" src="http://opi.yahoo.com/online?u=mr.votam&amp;m=g&amp;t=1" /></a>
						</div>
					</div>
					
					<div class="boxMenuRight">
						<h3>Dịch vụ</h3>
						<div class="service">
							<ul>
								<li>
									<a href="#">Mở mạng (unlock)</a>
									<span>Mở mạng cho các máy nước ngoài về</span>
								</li>
								<li>
									<a href="#">Mở mạng (unlock)</a>
									<span>Mở mạng cho các máy nước ngoài về</span>
								</li>
								<li>
									<a href="#">Mở mạng (unlock)</a>
									<span>Mở mạng cho các máy nước ngoài về</span>
								</li>
								<li>
									<a href="#">Mở mạng (unlock)</a>
									<span>Mở mạng cho các máy nước ngoài về</span>
								</li>
							</ul>
						</div>
					</div>
					
					<div class="boxMenuRight">
						<h3>Dịch vụ</h3>
						<div class="serviceNews">
							<ul>
								<li>
									<a href="#">&gt;&gt;Mở mạng cho các máy nước ngoài về</a>
								</li>
								<li>
									<a href="#">&gt;&gt;Mở mạng cho các máy nước ngoài về</a>
								</li>
								<li>
									<a href="#">&gt;&gt;Mở mạng cho các máy nước ngoài về</a>
								</li>
								<li>
									<a href="#">&gt;&gt;Mở mạng cho các máy nước ngoài về</a>
								</li>
							</ul>
						</div>
					</div>
					
					<div class="boxMenuRight">
						<h3>Hệ thống cửa hàng</h3>
						<div class="store">
							<ul>
								<li>
									<strong>Trụ sở:</strong><span> 286 đường Giải Phóng, phường Phương Liệt, quận Thanh Xuân, Hà Nội</span><br />
									<strong>Tel:</strong><span> (04) 6291-6593</span><br />
									<strong>Mobile:</strong><span>0989.59.33.99 - 097.39.39.339</span>
								</li>
								<li>
									<strong>Chi nhánh 1:</strong><span>343 Chùa Thông , thành phố Sơn Tây, Hà Nội </span><br />
									<strong>Tel:</strong><span>(04) 6654-5839</span>
									
								</li>
								<li>
									<strong>Chi nhánh 2:</strong><span> Số 7 Nguyễn Thái Học - Hà Nội</span><br />
									<strong>Mobile:</strong><span>0989 59 3399</span>
								</li>
							
							</ul>
							
						</div>
					</div>
					
					<div class="advRight">
					<?php 
			        if ( $advright ) {
			        	foreach ( $advright as $is ) {
			        		echo '<a href="'.$is['link'].'"><img src="'.path_gallery().$is['image'].'" alt="'.$this->lang->line('advertise').'" width="'.$is['image_width'].'" height="'.$is['image_height'].'" /></a>';
			        	}
			        }
			        ?>
					</div>
				
				</div>
				<div class="colLeft">					
					<?php 
					if ( $catpros ) {
						echo '<div class="boxMenuLeft">';
						$k = 0;
						foreach ( $catpros as $kd ) {
							if( $kd['lever'] == 0 ) {
								if ( $k > 0 ) echo '</ul>';
								echo '<h3>'.$kd['name'].'</h3>';
								echo '<ul class="'.$kd['style'].'">';
								$name = $kd['name'];
							}
							
							if( $kd['lever'] == 1 ) {
			        			echo '<li><a class="'.$kd['style'].'" href="'.link_cat( $kd['id'], $kd['name'], $name ).'">'.$kd['name'].'</a></li>';
			        		}
							
							$k++;
						}
						echo '</ul>';
						echo '</div>';
					}
					
			        if ( $catnews ) {
			        	$k = 0;
			        	echo '<div class="boxMenuLeft">';
			        	foreach ( $catnews as $kd ) {
			        		
			        		if( $kd['lever'] == 0 ) {
			        			if ( $k > 0 ) echo '</ul>';
			        			echo '<h3>'.$kd['name'].'</h3>';
			        			echo '<ul class="items">';	
			        		}
			        		
			        		if( $kd['lever'] == 1 ) {
			        			echo '<li><a href="'.link_news( $kd['id'], $kd['name'] ).'">'.$kd['name'].'</a></li>';
			        		}
			        		$k++;
			        	}
			        	echo '</ul>';
			        	echo '</div>';
			        }
			        ?>
					
					<div class="boxMenuLeft">
						<h3>Download</h3>
						<ul class="items">
							<li>
								<a class="" href="#">Download tài liệu</a>
							</li>
						</ul>
					</div>
					<div class="statistic">
						<h4>Thống kê:</h4>
						<h5>Lượt truy cập: <?php echo total_visit() ?></h5>
						<h5>Đang online: <?php echo visit_online() ?> người</h5>
					</div>
					<div class="advLeft">
					<?php 
			        if ( $advleft ) {
			        	foreach ( $advleft as $is ) {
			        		echo '<a href="'.$is['link'].'"><img src="'.path_gallery().$is['image'].'" alt="'.$this->lang->line('advertise').'" width="'.$is['image_width'].'" height="'.$is['image_height'].'" /></a>';
			        	}
			        }
			        ?>
					</div>
				</div>
				<div class="colCenter">